package client_listen_update_files;

/**
 * user config class, holds all the user configuration info
 * @author Yoav
 *
 */



public class Config {
	
	private String userName;
	private String password;
	//holds path in user computer of dropbox
	private String dropBoxPath;
	
	/**
	 * constructor
	 * @param userName - user name
	 * @param password - password
	 * @param dropBoxPath - dropBox absolute path on user's computer
	 */
	public Config(String userName,String password,String dropBoxPath) {
		this.userName=userName;
		this.password=password;
		this.dropBoxPath=dropBoxPath;
	}
	
	/**
	 * d.cont
	 */
	public Config() {		
	}
	
	/**
	 * dropBox path setter
	 * @param dropBoxPath dropBox path
	 */
	public void setDropBoxPath(String dropBoxPath) {
		this.dropBoxPath = dropBoxPath;
	}
	
	/**
	 * password setter
	 * @param password user's password
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * user name setter
	 * @param userName user's name
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	 * user's password getter
	 * @return user's password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * user name getter
	 * @return user's nmae
	 */
	public String getUserName() {
		return userName;
	}
	
	/**
	 * dropBox path getter 
	 * @return dropBox absolute path on user's computer
	 */
	public String getDropBoxPath() {
		return dropBoxPath;
	}
}
